package org.yankun.exam4j.core.exam.service;

import java.io.Serializable;
import java.util.List;

import org.yankun.exam4j.entity.Exam;
import org.yankun.exam4j.entity.UserExam;

public interface ExamService {
	
	public void addExam(Exam exam);
	
	public Exam getExamById(Serializable id);
	
	public List<Exam> getExamsByUserId(Serializable userId);
	
	public List<UserExam> getUserExamByUserId(Serializable userId);
	
//	public void addQuestions(Paper paper,List<Question> questions);
//	
//	public List<Exam> getExamBySchoolId(Integer schoolId,Serializable userId);
//	
//	public Exam getExamById(Serializable examId);
//
//	public List<UserExam> getUserRecentExamByUser(User user);
}
